package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排庭主对象 sch_schedule
 * 
 * @author ruoyi
 * @date 2020-11-03
 */
public class SchSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 标题(排庭人员输入的标题) */
    @Excel(name = "标题(排庭人员输入的标题)")
    private String title;

    /** 主持人员(法官) */
    @Excel(name = "主持人员(法官)")
    private String moderators;

    /** 协助人员1(书记员) */
    @Excel(name = "协助人员1(书记员)")
    private String helpersOne;

    /** 排期地点(法庭) */
    @Excel(name = "排期地点(法庭)")
    private String room;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 业务类型:1-排庭 */
    @Excel(name = "业务类型:1-排庭")
    private Integer bizType;

    /** 排期开始时间 */
    @Excel(name = "排期开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date schedulingTimeStart;

    /** 排期结束时间 */
    @Excel(name = "排期结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date schedulingTimeEnd;

    /** 排期时长(单位:分钟) */
    @Excel(name = "排期时长(单位:分钟)")
    private Integer schedulingDuration;

    /** 排期时间-年(2020) */
    @Excel(name = "排期时间-年(2020)")
    private Integer year;

    /** 排期时间-月(1) */
    @Excel(name = "排期时间-月(1)")
    private Integer month;

    /** 排期时间-日(1) */
    @Excel(name = "排期时间-日(1)")
    private Integer day;

    /** 排期时间-周几(5) */
    @Excel(name = "排期时间-周几(5)")
    private Integer week;

    /** 排期时间-开始时分(00:01) */
    @Excel(name = "排期时间-开始时分(00:01)")
    private String hourMinuteStart;

    /** 排期时间-结束时分(00:01) */
    @Excel(name = "排期时间-结束时分(00:01)")
    private String hourMinuteEnd;

    /** 排期状态（1-预排 2-可排） */
    @Excel(name = "排期状态", readConverterExp = "1=-预排,2=-可排")
    private Integer schedulingStatus;

    /** 排期类型0-案件、1-节假日占用、2-排期地点(法庭)占用 3-主持人员(法官)占用 4-协助人员1(书记员)占用 */
    @Excel(name = "排期类型0-案件、1-节假日占用、2-排期地点(法庭)占用 3-主持人员(法官)占用 4-协助人员1(书记员)占用")
    private Integer schedulingType;

    /** 占用类型 0-单次 1-每天 2-每周 3-每月 */
    @Excel(name = "占用类型 0-单次 1-每天 2-每周 3-每月")
    private Integer occupyType;

    /** 是否销期 */
    @Excel(name = "是否销期")
    private Integer destroyFlag;

    /** 销期原因 */
    @Excel(name = "销期原因")
    private String destroyReason;

    /** 审判长(备注字段) */
    @Excel(name = "审判长(备注字段)")
    private String spz;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setModerators(String moderators) 
    {
        this.moderators = moderators;
    }

    public String getModerators() 
    {
        return moderators;
    }
    public void setHelpersOne(String helpersOne) 
    {
        this.helpersOne = helpersOne;
    }

    public String getHelpersOne() 
    {
        return helpersOne;
    }
    public void setRoom(String room) 
    {
        this.room = room;
    }

    public String getRoom() 
    {
        return room;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setBizType(Integer bizType) 
    {
        this.bizType = bizType;
    }

    public Integer getBizType() 
    {
        return bizType;
    }
    public void setSchedulingTimeStart(Date schedulingTimeStart) 
    {
        this.schedulingTimeStart = schedulingTimeStart;
    }

    public Date getSchedulingTimeStart() 
    {
        return schedulingTimeStart;
    }
    public void setSchedulingTimeEnd(Date schedulingTimeEnd) 
    {
        this.schedulingTimeEnd = schedulingTimeEnd;
    }

    public Date getSchedulingTimeEnd() 
    {
        return schedulingTimeEnd;
    }
    public void setSchedulingDuration(Integer schedulingDuration) 
    {
        this.schedulingDuration = schedulingDuration;
    }

    public Integer getSchedulingDuration() 
    {
        return schedulingDuration;
    }
    public void setYear(Integer year) 
    {
        this.year = year;
    }

    public Integer getYear() 
    {
        return year;
    }
    public void setMonth(Integer month) 
    {
        this.month = month;
    }

    public Integer getMonth() 
    {
        return month;
    }
    public void setDay(Integer day) 
    {
        this.day = day;
    }

    public Integer getDay() 
    {
        return day;
    }
    public void setWeek(Integer week) 
    {
        this.week = week;
    }

    public Integer getWeek() 
    {
        return week;
    }
    public void setHourMinuteStart(String hourMinuteStart) 
    {
        this.hourMinuteStart = hourMinuteStart;
    }

    public String getHourMinuteStart() 
    {
        return hourMinuteStart;
    }
    public void setHourMinuteEnd(String hourMinuteEnd) 
    {
        this.hourMinuteEnd = hourMinuteEnd;
    }

    public String getHourMinuteEnd() 
    {
        return hourMinuteEnd;
    }
    public void setSchedulingStatus(Integer schedulingStatus) 
    {
        this.schedulingStatus = schedulingStatus;
    }

    public Integer getSchedulingStatus() 
    {
        return schedulingStatus;
    }
    public void setSchedulingType(Integer schedulingType) 
    {
        this.schedulingType = schedulingType;
    }

    public Integer getSchedulingType() 
    {
        return schedulingType;
    }
    public void setOccupyType(Integer occupyType) 
    {
        this.occupyType = occupyType;
    }

    public Integer getOccupyType() 
    {
        return occupyType;
    }
    public void setDestroyFlag(Integer destroyFlag) 
    {
        this.destroyFlag = destroyFlag;
    }

    public Integer getDestroyFlag() 
    {
        return destroyFlag;
    }
    public void setDestroyReason(String destroyReason) 
    {
        this.destroyReason = destroyReason;
    }

    public String getDestroyReason() 
    {
        return destroyReason;
    }
    public void setSpz(String spz) 
    {
        this.spz = spz;
    }

    public String getSpz() 
    {
        return spz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("moderators", getModerators())
            .append("helpersOne", getHelpersOne())
            .append("room", getRoom())
            .append("department", getDepartment())
            .append("bizType", getBizType())
            .append("schedulingTimeStart", getSchedulingTimeStart())
            .append("schedulingTimeEnd", getSchedulingTimeEnd())
            .append("schedulingDuration", getSchedulingDuration())
            .append("year", getYear())
            .append("month", getMonth())
            .append("day", getDay())
            .append("week", getWeek())
            .append("hourMinuteStart", getHourMinuteStart())
            .append("hourMinuteEnd", getHourMinuteEnd())
            .append("schedulingStatus", getSchedulingStatus())
            .append("schedulingType", getSchedulingType())
            .append("occupyType", getOccupyType())
            .append("destroyFlag", getDestroyFlag())
            .append("destroyReason", getDestroyReason())
            .append("remark", getRemark())
            .append("spz", getSpz())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
